import type { Link } from '@/components/Links/index.ts'

/** ********** Main ********** */
export interface DeskDiyType {
    asides: AsidesType
    boards: BoardsType
}

/** ********** Asides ********** */
export interface AsidesType {
    nav: AsidesItemType[]
    menu: AsidesItemType[]
}

export interface AsidesItemType {
    name: string
    selected: string
    unselected: string
    isEnable: boolean
    link: Partial<Link>
}

/** ********** Boards ********** */
export interface BoardsType {
    topic: TopicType
    quick: QuickType[]
}

export interface TopicType {
    logo: string
    title: string
    intro: string
    isEnable: boolean
}

export interface QuickType {
    name: string
    intro: string
    layout: string
    click: string
    lists: QuickItemType[]
}

export interface QuickItemType {
    icon?: string
    name: string
    intro?: string
    button?: string,
    link: Partial<Link>
}
